/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package InterfazHardware;

import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;

/**
 *
 * @author Maximiliano
 */
public class HabilitadorTarjeta extends InterfazHabilitacion {

    @Override
    public boolean habilitacionValida() {
        boolean tarjetaValida = false;

        try {
            DataInputStream datosEntrada = new DataInputStream(new FileInputStream(new File("data_io//candidatos.xml")));
            tarjetaValida = true;
        } catch (FileNotFoundException ex) {
            Logger.getLogger(HabilitadorTarjeta.class.getName()).log(Level.SEVERE, null, ex);
        }

        return tarjetaValida;
    }

}
